<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="keywords" content="">
		<meta name="description" content="">
		<title>动态路由</title>
		<link href="/static/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="/static/include/css/style.css">
		<link href="/static/css/jsonview/jquery.json-viewer.css" rel="stylesheet" />
		<style type="text/css">
			body {
				margin: 0;
				padding: 0;
				width: 80%;
				margin: 50px auto 100px;
			}

			#json-input {
				display: block;
				width: 100%;
				height: 200px;
			}

			#translate {
				display: block;
				height: 28px;
				margin: 20px 0;
				border-radius: 3px;
				border: 2px solid;
				cursor: pointer;
			}

			#json-display {
				border: 1px solid #000;
				margin: 0;
				padding: 10px 20px;
			}
			#toolbar{
				text-align: right;
				margin-bottom: 10px;
			}
		</style>
	</head>
	<body>
		<div class="htmleaf-container">
			<div class="htmleaf-content">
				<p class="alert alert-info">路由配置是非常专业的事情，不建议非工程师操作</p>
				<div class="btn-group-sm" id="toolbar" role="group">
				</div>
				<pre id="json-display"></pre>
			</div>
		</div>
		<script src="/static/include/js/footer.js"></script>
		<script id="toolbarTpl" type="text/html">
			{{# if(d.sys_route_update){ }}
		  <a class="btn btn-success" id ="jsonData">
		  	<i class="fa fa-edit"></i> 更新
		  </a>
		  {{# } }}
		</script>
		<script src="/static/js/jsonview/jquery.json-editor.js"></script>
		<script src="/static/js/jsonview/jquery.json-viewer.js"></script>
		 <script src="/static/pages/sysadm/route/route.js"></script> 
	</body>
</html>
